<template>
  <div class="home">
    <div class="first-line">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
    <div class="sale-volume">
      <div class="head">
        <div class="title">销售额</div>
        <div class="demo-date-picker">
          <div class="block">
            <el-date-picker
              v-model="value1"
              type="daterange"
              start-placeholder="请选择时间段"
            />
          </div>
        </div>
        <el-button type="primary" :icon="Search">Search</el-button>
      </div>
    </div>
    <div class="refund-amount"></div>
  </div>
</template>

<script>
import { Search } from "@element-plus/icons-vue";
import { ref } from "vue";

const value1 = ref("");
export default {
  name: "HomePage",
  data() {
    return {
      value1,
      Search,
    };
  },
};
</script>

<style lang="less">
.el-main .home {
  width: 100vw;
  margin: 1.8% 1.8% 1.8% 1.8%;
  background-color: pink;
  box-sizing: border-box;
  .first-line {
    display: flex;
    justify-content: space-between;
    div {
      width: 24%;
      height: 170px;
      background-color: blue;
    }
  }
  .sale-volume {
    height: 400px;
    margin-top: 16px;
    background-color: blue;
    .head {
      display: flex;
      height: 50px;
      .title {
        margin-left: 16px;
        margin-right: 50px;
        line-height: 50px;
        font-size: 14px;
        color: #101010;
      }
      .el-date-editor .el-range-separator {
        display: none;
      }
    }
  }
  .refund-amount {
    height: 400px;
    margin-top: 16px;
    background-color: blue;
  }
}
</style>